<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 1. 继承 
        写在外层标签上的有一些属性可以被子元素继承
        */
        body{
            color: red;
            font-size:16px;
            font-style: italic;
            width: 100px;
            background-color: yellow;
        }
        ul{
            list-style: none;
        }
    </style>
</head>

<body>
    <h1>css特性</h1>
    <div>
        css特性
    </div>
    <p>特性</p>
    <ul>
        <li>继承</li>
        <li>层叠</li>
    </ul>
</body>
</html>